<?php
// No direct access
defined('_JEXEC') or die;

jimport('joomla.application.component.view');

class ContentViewContact_Us extends JView
{
    // Overwriting JView display method
    function display($tpl = null)
    {
        // Check for errors.
        if (count($errors = $this->get('Errors')))
        {
            JError::raiseError(500, implode('<br />', $errors));
            return false;
        }

        // Display the view
        parent::display($tpl);
    }
}
